import React from "react";
import ReactDom from "react-dom";
import { createRoot } from "react-dom/client";
import App from "./app";
// import {fn} from 'demo2/tools'

// const dom = createRoot(document.getElementById("root") as HTMLElement);
// dom.render(ReactDom.createPortal(<App />, document.body));
ReactDom.render(<App />, document.getElementById("root"));